<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 

class Template {
	
	protected $_name;
	
	public function __construct($name=null) {
		$this->_name = $name;
	}
	
	public function getLayout($controller) {
		return 'layout/'. $this->_name .'/'. $controller .'.xml';
	}
	
	public function getTemplate($path) {
		return $this->_name .'/'. $path;
	}
	
	public function getSkin($item) {
		return $this->_name.'/'.$item;
	}

}

/* End of file Template.php */